<template>
  <OperateRecord ref="OperateRecord" :customerId="id" />
</template>
<script lang="ts">
import { Component, Vue, Prop, Ref } from 'vue-property-decorator'
import OperateRecord from '@/views/newCustomer/components/operateRecord.vue'
@Component({
  name: 'Record',
  components: { OperateRecord }
})
export default class CustomerDynamic extends Vue {
  @Ref() private readonly OperateRecord!: OperateRecord
  @Prop() private id

  public init () {
    this.$nextTick(() => {
      this.OperateRecord.quickQuery()
    })
  }

  private mounted () {
    this.init()
  }
}
</script>
<style lang="stylus" scoped>

// >>> .scroll

//   height 100% !important

// >>> .record

//   height calc(100% -106px) !important

//   padding 16px 0 0

</style>
